﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using TpBaseObjects.Base;

namespace TpBaseObjects.Objects {
    
    public class VorwahlObj : MyBaseModel {

        #region Members

        private int vorwahlKey;
        private string vorwahl;

        #endregion

        #region Constructor

        public VorwahlObj() {
        }

        #endregion

        #region Properties

        [DataMember]
        public int VorwahlKey {
            get { return this.vorwahlKey; }
            set {
                if (this.vorwahlKey == value) {
                    return;
                }
                this.vorwahlKey = value;
                OnPropertyChanged(() => VorwahlKey);
            }
        }

        [DataMember]
        public string Vorwahl {
            get { return this.vorwahl; }
            set {
                if (this.vorwahl == value) {
                    return;
                }
                this.vorwahl = value;
                OnPropertyChanged(() => Vorwahl);
            }
        }

        #endregion

    }
}
